//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "CNetUdpThread.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------


__fastcall CNetUdpThread::CNetUdpThread(const int ABufferSize, TIdUDPServer* Owner)
   : TIdUDPListenerThread(ABufferSize, Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall CNetUdpThread::UDPRead(void)
{
   int iSize=0;

  // iSize = (int)

   AnsiString asd = FBuffer->Size;

}
//---------------------------------------------------------------------------

void __fastcall CNetUdpThread::Run(void)
{
   int iSizeRun=0;
   AcceptWait = 5000;
   AnsiString asd = IncomingData->IP;
   asd = IncomingData->IP;
   do
   {
     ::Sleep(0);
   }while(!Terminated);
}
//---------------------------------------------------------------------------


